<?php
class ErrorsController extends AppController {
    public $name = 'Errors';
    var $components = array('Session','RequestHandler');
    public function beforeFilter() {
        parent::beforeFilter();
    }

    public function error404() {
        $this->layout = false;
    }
    public function permission()
    {
    	$this->layout = false;
    }
}
?>